CPUStats

data class CPUStats(val upTime: Int, val processes: Int, val usage: Float) : Parcelable

A data object used for holding the CPU stats

Constructors

Link copied to clipboard
constructor(upTime: Int, processes: Int, usage: Float)

Properties

Link copied to clipboard

the list of active processes

Link copied to clipboard
val upTime: Int

The CPU uptime in milliseconds

Link copied to clipboard

the usage in percentage

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)